package com.jdbcbase.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jdbcbase.dao.MenuDao;
import com.jdbcbase.module.Menu;
import com.jdbcbase.service.MenuService;
@Service("menuService")
public class MenuServiceImpl implements MenuService {
	@Resource
	private MenuDao menuDao;
	@Override
	public List<Menu> queryMenu(Menu menu) {
		return this.menuDao.queryMenu(menu);
	}
	@Override
	public Menu queryMenuForOne(String str) {
		return this.menuDao.queryMenuForOne(str);
	}
	@Override
	public List<Map> queryMenuMap(Menu menu) {
		return this.menuDao.queryMenuMap(menu);
	}

}
